//
//  ImageIdentifierResultCell.m
//  ZITHER
//
//  Created by imac on 2018/5/30.
//  Copyright © 2018年 MinesTime. All rights reserved.
//

#import "ImageIdentifierResultCell.h"
#import "MCURLImageView.h"
@interface ImageIdentifierResultCell ()
@property (weak, nonatomic) IBOutlet MCURLImageView *goodsImageView;
@property (weak, nonatomic) IBOutlet UILabel *goodsPriceLabel;
@property (weak, nonatomic) IBOutlet UILabel *goodsBrandLabel;
@property (weak, nonatomic) IBOutlet UILabel *goodsSeriesLabel;
@property (weak, nonatomic) IBOutlet UILabel *goodsModelLabel;

@end

@implementation ImageIdentifierResultCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}
- (void)setModel:(GoodsCommonModel *)model {
    _model = model;
    [_goodsImageView setImageWithURLStr:_model.image_default placeholderImageType:(ImageViewPlaceholderTypeGoods)];
    _goodsPriceLabel.text = _model.conjuncture_price;
    _goodsBrandLabel.text = _model.brand_name_ch;
    _goodsSeriesLabel.text = _model.series_name;
    _goodsModelLabel.text = _model.model_name;
}
@end
